package com.sxbbc.common.core.entity.jz;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * <p>
 * 商品评论表
 * </p>
 *
 * @author xiaoky
 * @since 2019-05-29
 */
public class ProcEvaluate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer cid;
    /**
     * 店铺id
     */
    private Integer bid;
    /**
     * 商品id
     */
    private Integer proId;

    /**
     * 订单id
     */
    private Integer orderId;

    /**
     * 订单详情id
     */
    private Integer detailId;

    /**
     * 规格名称
     */
    private String specName;

    /**
     * 评分     1   好评   2 中评   3 差评
     */
    private Integer grade;

    /**
     * 描述相符评分
     */
    private BigDecimal descScore;
    /**
     * 物流服务评分
     */
    private BigDecimal expScore;
    /**
     * 服务态度评分
     */
    private BigDecimal serviceScore;
    
    /**
     * 评论内容
     */
    private String content;

    /**
     * 是否有图  0 没有   1 有
     */
    private Integer hasPhoto;

    /**
     * 评论图片
     */
    private String evaluateUrl;

    /**
     * 是否匿名评论  0  不匿名  1 匿名
     */
    private Integer hide;

    /**
     * 评论时间
     */
    private Date createTime;

    /**
     * 用户头像
     */
    @TableField(exist = false)
    private String CHeadUrl;
    /**
     * 用户昵称
     */
    @TableField(exist = false)
    private String CNickName;
    /**
     * 评论图片集合
     */
    @TableField(exist = false)
    private List<String> evaluateUrlList;
    
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }
    
    public Integer getBid() {
		return bid;
	}

	public void setBid(Integer bid) {
		this.bid = bid;
	}

    public Integer getProId() {
		return proId;
	}

	public void setProId(Integer proId) {
		this.proId = proId;
	}

	public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
    public Integer getDetailId() {
        return detailId;
    }

    public void setDetailId(Integer detailId) {
        this.detailId = detailId;
    }
    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }
    
    public Integer getGrade() {
		return grade;
	}

	public void setGrade(Integer grade) {
		this.grade = grade;
	}

	public BigDecimal getDescScore() {
		return descScore;
	}

	public void setDescScore(BigDecimal descScore) {
		this.descScore = descScore;
	}

	public BigDecimal getExpScore() {
		return expScore;
	}

	public void setExpScore(BigDecimal expScore) {
		this.expScore = expScore;
	}

	public BigDecimal getServiceScore() {
		return serviceScore;
	}

	public void setServiceScore(BigDecimal serviceScore) {
		this.serviceScore = serviceScore;
	}

	public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public Integer getHasPhoto() {
        return hasPhoto;
    }

    public void setHasPhoto(Integer hasPhoto) {
        this.hasPhoto = hasPhoto;
    }
    public String getEvaluateUrl() {
        return evaluateUrl;
    }

    public void setEvaluateUrl(String evaluateUrl) {
        this.evaluateUrl = evaluateUrl;
    }
    public Integer getHide() {
        return hide;
    }

    public void setHide(Integer hide) {
        this.hide = hide;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

	public String getCHeadUrl() {
		return CHeadUrl;
	}

	public void setCHeadUrl(String cHeadUrl) {
		CHeadUrl = cHeadUrl;
	}

	public String getCNickName() {
		return CNickName;
	}

	public void setCNickName(String cNickName) {
		CNickName = cNickName;
	}

	public List<String> getEvaluateUrlList() {
		return evaluateUrlList;
	}

	public void setEvaluateUrlList(List<String> evaluateUrlList) {
		this.evaluateUrlList = evaluateUrlList;
	}

	@Override
	public String toString() {
		return "ProcEvaluate [id=" + id + ", cid=" + cid + ", bid=" + bid + ", proId=" + proId + ", orderId=" + orderId
				+ ", detailId=" + detailId + ", specName=" + specName + ", grade=" + grade + ", descScore=" + descScore
				+ ", expScore=" + expScore + ", serviceScore=" + serviceScore + ", content=" + content + ", hasPhoto="
				+ hasPhoto + ", evaluateUrl=" + evaluateUrl + ", hide=" + hide + ", createTime=" + createTime + "]";
	}

}
